﻿<Page x:Class="MoreEPG.View.SettingsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="350"
             d:DesignWidth="300"
             DataContext="{Binding Settings, Source={StaticResource Locator}}">
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Skins/Theme.xaml" />
                <ResourceDictionary Source="/Skins/MainSkin.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Page.Resources>
    <Border x:Name="Border2" Grid.Column="1" Margin="3" BorderBrush="GhostWhite" BorderThickness="1" CornerRadius="10">
        <Grid Name="right">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
                <ColumnDefinition Width="Auto"></ColumnDefinition>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="50"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
                <RowDefinition Height="Auto"></RowDefinition>
            </Grid.RowDefinitions>
            <Label Grid.Row="0" Grid.ColumnSpan="2" Margin="5" Content="Optionen :" FontSize="12" HorizontalAlignment="Left" Foreground="White">
                <Label.Effect>
                    <DropShadowEffect></DropShadowEffect>
                </Label.Effect>
            </Label>
            <Label Grid.Row="1" Margin="50,5,30,5" Content="Update DB ?" FontSize="12" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Center"></Label>
            <CheckBox Grid.Row="1" Grid.Column="1"  HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding UpdateDB}"></CheckBox>
            <Label Grid.Row="2" Margin="50,5,30,5" Content="EPG in MC laden ?" FontSize="12" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Center"></Label>
            <CheckBox Grid.Row="2" Grid.Column="1"  HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding LoadMC}" ></CheckBox>
            <Label Grid.Row="3" Margin="50,5,30,5" Content="AutoDetect HD Sender ?" FontSize="12" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Center"></Label>
            <CheckBox Grid.Row="3" Grid.Column="1"  HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding AutoHD}"></CheckBox>
            <Label Grid.Row="4" Margin="50,5,30,5" Content="EPG Bilder laden ?" FontSize="12" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Center"></Label>
            <CheckBox Grid.Row="4" Grid.Column="1"  HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding LoadImg}"></CheckBox>
            <Label Grid.Row="5" Margin="50,5,30,5" Content="Senderlogos laden ?" FontSize="12" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Center"></Label>
            <CheckBox Grid.Row="5" Grid.Column="1"  HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding LoadLogo}"></CheckBox>
            <Label Grid.Row="6" Margin="50,5,30,5" Content="Start Reindex after Load ?" FontSize="12" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Center"></Label>
            <CheckBox Grid.Row="6" Grid.Column="1"  HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding Reindex}" ></CheckBox>
            <Label Grid.Row="7" Margin="50,5,30,5" Content="Sender-Name mit CF suffix ?" FontSize="12" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Center"></Label>
            <CheckBox Grid.Row="7" Grid.Column="1"  HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding CFSuffix}"></CheckBox>
            <Label Grid.Row="8" Margin="50,5,30,5" Content="Kurzbeschreibung mit FSK ?" FontSize="12" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Center"></Label>
            <CheckBox Grid.Row="8" Grid.Column="1"  HorizontalAlignment="Center" VerticalAlignment="Center" IsChecked="{Binding FSKInfo}"></CheckBox>
        </Grid>
    </Border>
    
</Page>
